package cn.gov.service.impl;

import cn.geracomium.util.service.abs.AbstractService;
import cn.gov.dao.IMemberEmergencyContactDAO;
import cn.gov.service.IMemberEmergencyContactService;
import cn.gov.vo.MemberEmergencyContact;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class MemberEmergencyContactServiceImpl extends AbstractService implements IMemberEmergencyContactService {
    @Autowired
    private IMemberEmergencyContactDAO memberEmergencyContactDAO;

    @Override
    public List<MemberEmergencyContact> getAllById(Long memberId) {
        return this.memberEmergencyContactDAO.findAllById(memberId);
    }
}

